import re

if __name__ == '__main__':
    text = "This is some text show in **bold**. That is **content format in bold** too!"

    pattern = r"(\*{2}(.*?)\*{2})"

    result = re.sub(pattern=pattern, repl=r"<bold>\2<\bold>", string=text, count=1)
    print(result)
